FluentForm\App\Modules\Payments\PaymentMethods\BaseProcessor C

Total Complexity 119
Dependencies 4
Dependents 1
Total lines 1,077
Lines of code 828
Logical lines of code 344
Comment lines 12
Methods 41
Properties 4

Methods 41

Method Rating Maintainability Complexity Lines of code
getTransactionDefaults()
A
44 13 46
maybeInsertSubscriptionCharge()
A
36 9 86
updateRefund()
A
41 6 65
createInitialPendingTransaction()
A
47 7 37
showPaymentView()
S
44 5 47
recalculatePaidTotal()
S
49 6 31
getReturnData()
S
49 5 32
getCancelAtTimeStamp()
S
53 5 23
updateSubscriptionStatus()
S
44 3 52
refund()
S
40 2 64
handleSessionRedirectBack()
S
51 4 25
insertRefund()
S
55 4 18
limitLength()
S
60 4 13
maybeAutoLogin()
S
62 4 12
changeSubmissionPaymentStatus()
S
46 2 42
getSubmission()
S
60 3 14
getRefundTotal()
S
61 3 13
changeTransactionStatus()
S
48 1 43
getAmountTotal()
S
62 3 12
getPaymentCountsAndTotal()
S
58 2 16
getMetaData()
S
64 3 10
insertTransaction()
S
62 3 10
getSubscriptions()
S
61 2 13
getForm()
S
64 2 10
completePaymentSubmission()
S
69 2 7
setMetaData()
S
61 1 12
updateSubscription()
S
70 1 6
updateSubmission()
S
70 1 6
init()
S
77 1 3
loadView()
S
68 1 7
deleteMetaData()
S
71 1 6
handlePaymentAction()
S
100 1 0
getOrderItems()
S
71 1 6
updateTransaction()
S
70 1 6
getLastTransaction()
S
71 1 6
getTransactionByChargeId()
S
71 1 6
getRefund()
S
71 1 6
getTransaction()
S
74 1 5
getSubmissionId()
S
82 1 3
setSubmissionId()
S
81 1 3
getDiscountItems()
S
71 1 6